const Router = require('koa-router');

const authRouter = new Router();

const { login,detail} = require('../controller/auth.controller');
const { verifyLogin, verifyAuth, } =require('../middleware/auth.middleware')
authRouter.post('/login',verifyLogin,login)
authRouter.get('/detail',verifyAuth,detail)


module.exports = authRouter;